package com.wanmait.deliverymangementsystem.mapper;

import com.wanmait.deliverymangementsystem.pojo.Tasks;

import java.util.List;


public interface TasksMapper {
   void insert(Tasks tasks);
   Integer findLastID();
   Tasks findByID(Integer id);
   void updateEstimatedTimeAndRunnerIDandStatus(Tasks tasks);
   List<Tasks> SelectByRunnerIDAndStatus(Integer runnerid);
   void updateStatusById(Integer id);

   void updateStautusto3ByID(Integer id);

   void updateCompletedAtByID(Integer id);
}